﻿<%@ Page Language="C#" Theme="Default_Themes" AutoEventWireup="true" CodeFile="ChangePassword.aspx.cs" Inherits="DanhMuc_ChangePassword" %>

<!DOCTYPE html>
<!--[if lt IE 7]>      <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]>         <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]>         <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]-->
<!--base css styles-->
<link rel="stylesheet" href="<%=PageURL.local+"assets/font-awesome/css/font-awesome.min.css" %>">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body id="login">
    <form id="form1" runat="server">
        <asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>
        <asp:UpdatePanel ID="udt" runat="server">
            <ContentTemplate>
                <div id="login-wrapper">
                    <div class="titledangnhap">
                        đổi mật khẩu
                    </div>
                    <div class="itemdangnhap">
                        <i class="icon-cogs"></i>&nbsp;Mật khẩu củ
                    </div>
                    <div class="itemdangnhap">
                        <asp:TextBox ID="txtoldpass" TextMode="Password" runat="server" CssClass="text-input" onblur="KiemTraInjection(this);"></asp:TextBox>
                        <asp:RequiredFieldValidator runat="server" ID="rq1" ControlToValidate="txtoldpass" ErrorMessage="(*)" ForeColor="Red" Display="Dynamic"></asp:RequiredFieldValidator>
                    </div>
                    <div class="itemdangnhap">
                        <i class="icon-gear"></i>&nbsp;Mật mới
                    </div>
                    <div class="itemdangnhap">
                        <asp:TextBox ID="txtnewpass" TextMode="Password" runat="server" CssClass="text-input" onblur="KiemTraInjection(this);"></asp:TextBox>
                        <asp:RequiredFieldValidator runat="server" ID="RequiredFieldValidator1" ControlToValidate="txtnewpass" ErrorMessage="(*)" ForeColor="Red" Display="Dynamic"></asp:RequiredFieldValidator>
                    </div>
                    <div class="itemdangnhap">
                        <i class="icon-share"></i>&nbsp;Xác nhận mật khẩu mới
                    </div>
                    <div class="itemdangnhap">
                        <asp:TextBox ID="txtconfirmpass" TextMode="Password" runat="server" CssClass="text-input" onblur="KiemTraInjection(this);"></asp:TextBox>
                        <asp:RequiredFieldValidator runat="server" ID="RequiredFieldValidator2" ControlToValidate="txtconfirmpass" ErrorMessage="(*)" ForeColor="Red" Display="Dynamic"></asp:RequiredFieldValidator>
                    </div>
                    <div class="itemdangnhap" style="text-align: center; padding: 0px;">
                        <asp:Button ID="btnchangepass" CssClass="button" Width="120px" runat="server" Text="Đổi mật khẩu" OnClick="btnchangepass_Click"/>
                    </div>
                    <div class="itemdangnhap" style="text-align: center; padding: 0px;">
                        <asp:Label ID="lblmessage" runat="server" Style="color: #FF3300"></asp:Label>
                    </div>
                    <hr/>
                    <div class="itemdangnhap" style="text-align:right;padding-right:3px;">
                        <a href="../Default.aspx" style="text-decoration:none;color:#5E87B0;">Quay lại trang chủ</a>
                    </div>
                </div>
            </ContentTemplate>
        </asp:UpdatePanel>
    </form>
</body>
</html>
